package com.rf.richfitwheel.outbill.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.rf.richfitwheel.admin.sys.vo.UserVO;
import com.rf.richfitwheel.outbill.model.AcceptBillInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rf.richfitwheel.outbill.model.OutBillInfo;
import com.rf.richfitwheel.outbill.param.AcceptBillInfoParam;
import com.rf.richfitwheel.utils.PageJson;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author admin
 * @since 2024-06-12
 */
public interface AcceptBillInfoService extends IService<AcceptBillInfo> {

    PageJson pageJson(AcceptBillInfoParam acceptBillInfo);

    boolean addFlow(Map<String, Object> params);

    void updateAcceptBill(String id, String status, String processInstanceId);

    boolean modifyFlow(Map<String, Object> params, UserVO user);

    boolean backFlow(Map<String, Object> params);

    void backAcceptBill(String id, String status, String processInstanceId);

    //撤销提示承兌更新走流程
    boolean backModifyFlow(Map<String, Object> params, UserVO user);
}
